package com.xmy.study.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-08
 */
@TableName("sys_set")
@ApiModel(value = "Set对象", description = "")
public class Set implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("是否允许正式学生帐号登陆")
    private Integer allowStudentLogin;

    @ApiModelProperty("是否允许教师登陆")
    private Integer allowTeacherLogin;

    @ApiModelProperty("是否允许试用学生帐号登陆")
    private Integer allowTryStudentLogin;

    @ApiModelProperty("1系统维护中，0正常")
    private Integer isMaintain;

    @ApiModelProperty("不允许登陆的提示内容")
    private String loginMsg;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Integer getAllowStudentLogin() {
        return allowStudentLogin;
    }

    public void setAllowStudentLogin(Integer allowStudentLogin) {
        this.allowStudentLogin = allowStudentLogin;
    }
    public Integer getAllowTeacherLogin() {
        return allowTeacherLogin;
    }

    public void setAllowTeacherLogin(Integer allowTeacherLogin) {
        this.allowTeacherLogin = allowTeacherLogin;
    }
    public Integer getAllowTryStudentLogin() {
        return allowTryStudentLogin;
    }

    public void setAllowTryStudentLogin(Integer allowTryStudentLogin) {
        this.allowTryStudentLogin = allowTryStudentLogin;
    }
    public Integer getIsMaintain() {
        return isMaintain;
    }

    public void setIsMaintain(Integer isMaintain) {
        this.isMaintain = isMaintain;
    }
    public String getLoginMsg() {
        return loginMsg;
    }

    public void setLoginMsg(String loginMsg) {
        this.loginMsg = loginMsg;
    }

    @Override
    public String toString() {
        return "Set{" +
            "id=" + id +
            ", allowStudentLogin=" + allowStudentLogin +
            ", allowTeacherLogin=" + allowTeacherLogin +
            ", allowTryStudentLogin=" + allowTryStudentLogin +
            ", isMaintain=" + isMaintain +
            ", loginMsg=" + loginMsg +
        "}";
    }
}
